#!/bin/bash
FOLDER_PATH="./log"

if [ -d "$FOLDER_PATH" ]; then
    rm -rf "$FOLDER_PATH:?"/*
    echo "clean log success."
else
    echo "log folder not exist."
fi
